package nix.resource;

import java.util.Locale;
import java.util.ResourceBundle;

import org.junit.Test;

public class Test1 {

	@Test
	public void fun1() {
		//Locale locale = Locale.CHINA;
		Locale locale = Locale.US;
		ResourceBundle rb = ResourceBundle.getBundle("res", locale);
		
		System.out.println(rb.getString("username"));
		System.out.println(rb.getString("password"));
		System.out.println(rb.getString("login"));
	}
}
